<?php /* Smarty version Smarty-3.0.7, created on 2012-06-06 11:00:34
         compiled from "E:\Project\Company\dus\shipinall.cn\Subversion\wwwroot/template/templates\mc/licence/list.tpl" */ ?>
<?php /*%%SmartyHeaderCode:177974fcec7d2c423e5-25153217%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '381c2093d0e30ca8c4181307cdc6fcbeb3e4a5a4' => 
    array (
      0 => 'E:\\Project\\Company\\dus\\shipinall.cn\\Subversion\\wwwroot/template/templates\\mc/licence/list.tpl',
      1 => 1338951633,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '177974fcec7d2c423e5-25153217',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate')) include 'E:\Project\Company\dus\shipinall.cn\Subversion\wwwroot\library\package\smarty\plugins\modifier.truncate.php';
if (!is_callable('smarty_modifier_date_format')) include 'E:\Project\Company\dus\shipinall.cn\Subversion\wwwroot\library\package\smarty\plugins\modifier.date_format.php';
?><script type="text/javascript" src="/scripts/apps/mc/licence/list.js"></script>
<form id="Form_Licence" name="Form_Licence" action="/exec.php?action=mc_licence_list" method="post" enctype="multipart/form-data">
    <table width="700" border="0" align="center" cellpadding="0" cellspacing="0" class="regBL">
    <tr>
        <td align="left" ><h2>管理证书</h2></td>
    </tr>
    </table>
    <br />
    <table width="700"  align="center" cellpadding="0" cellspacing="0"  class="mang_tab">
    <tr>
        <td width="20" height="25" align="center" bgcolor="#f7f7f7"><strong>选</strong></td>
        <td width="117" align="center" bgcolor="#f7f7f7"><strong>证书照片</strong></td>
        <td width="249" align="center" bgcolor="#f7f7f7"><strong>证书名称</strong></td>
        <td width="128" align="center" bgcolor="#f7f7f7"><strong>发证机关</strong></td>
        <td width="98" align="center" bgcolor="#f7f7f7"><strong>上传日期</strong></td>
        <td width="86" align="center" bgcolor="#f7f7f7"><strong>操作选项</strong></td>
    </tr>
    <?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('Licences')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
?>
    <tr>
        <td height="25" align="center"  >
            <input id="ID" name="ID[]" type="checkbox" value="<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
" />
        </td>
        <td height="75" align="center">
        	<a href="<?php echo $_smarty_tpl->getVariable('Row')->value['PictureLocation'];?>
" target="_blank"><img src="<?php echo $_smarty_tpl->getVariable('Row')->value['PictureLocation'];?>
" width="99" height="70" /></a>
		</td>
        <td align="center"  ><a href="<?php echo $_smarty_tpl->getVariable('Row')->value['PictureLocation'];?>
" target="_blank" ><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('Row')->value['Name'],15,"..");?>
</a></td>
        <td height="25" align="center"  ><?php echo $_smarty_tpl->getVariable('Row')->value['Authority'];?>
</td>
        <td align="center"  ><?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('Row')->value['Datetime'],"%Y-%m-%d");?>
</td>
        <td align="center"  ><a href="/exec.php?action=mc_licence_edit&id=<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
" target="_self" class="lane">编辑</a> <a name="Link_Delete" href="/exec.php?action=mc_licence_list&do=delete&id=<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
" target="_self" class="yele">删除</a></td>
    </tr>
    <?php }} ?>
    <tr>
        <td height="25" colspan="6"  >
            <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" >
            <tr>
                <td width="76%" style="border:none">&nbsp;<?php echo $_smarty_tpl->getVariable('PageMenu')->value;?>
</td>
                <td width="24%" align="right" style="border:none">
                    <span class="pointer" id="SelectAll"><strong>全选</strong></span>/<span class="pointer" id="UnSelectAll"><strong>全不选</strong></span>
                    <span class="pointer" id="Delete"><strong>删除</strong></span> 
                </td>
            </tr>
            </table>
        </td>
    </tr>
    </table>
    <br />
</form>